Fix project-find-regexp in remote projects
authorDmitry Gutov <dmitry@gutov.dev>
Sat, 18 May 2024 00:24:56 +0000 (03:24 +0300)
committerDmitry Gutov <dmitry@gutov.dev>
Sat, 18 May 2024 00:39:50 +0000 (03:39 +0300)
commitdb039399cccd38b767bf6a30ba6c5da593eb69cf
tree8b9c019afa26257ab7a2c42421e8d752a3520460
parent646b8da4a5ec8b4b4a8e461683ff0786a95d1f85
Fix project-find-regexp in remote projects

* lisp/progmodes/xref.el (xref--hits-file-prefix):
New variable.  Something to prepend to each file name (bug#69233).
(xref--convert-hits): Use it to also store the "default directory"
part of the filename conditionally on whether it's remote.
(xref--collect-matches): Use the new variable here.
lisp/progmodes/xref.el